package com.infore.siteManagement.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.infore.siteManagement.entity.otherEntity.Protocol;

/**
 * 用于关联协议id和站点的中间表仓库
 * @author 刘乐法
 *
 *
 */
@Repository
public interface IProtocolIdRespository extends JpaRepository<Protocol, String>,JpaSpecificationExecutor<Protocol>{

	Protocol findOneByProtocolId(String id);
	
}
